import { ApiCall } from "tsrpc";
import { ReqJob_look, ResJob_look } from "../../../shared/master/body/PtlJob_look";
import { player } from "../../../model/fight/body/player";
import { template } from "../../../shared/master/MsgAction";

export default async function (call: ApiCall<ReqJob_look, ResJob_look>) {
    call.succ({})
    let user = call.req._player as player;
    let tpl = user.get_panel_job();
    user.sendMsg(template.panel_job,tpl);
}